<template>
  <div style="padding: 30px 60px">
    <el-card>
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="登录账号设置" name="first">用户管理</el-tab-pane>
        <el-tab-pane label="个人详情" name="second">
          <info />
        </el-tab-pane>
        <el-tab-pane label="岗位信息" name="third">角色管理</el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>
<script>
import info from './info.vue'

export default {
  name: '',
  components: { info },
  data() {
    return {
      activeName: 'first'
    }
  },
  computed: {},
  created() {
    /*
    $router=====做面跳转的===对象   this.$router.push()
    $route======获取路由参数的==对象  this.$route.params.id
    routes======路由规则==array     [{path:'',components:''}]
    */
    // console.log(this, 88877766)
  },
  methods: {
    handleClick(tab, event) {
    //   console.log(tab, event)
    }
  }

}
</script>
<style lang="less" scoped></style>
